package com.sq.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sq.system.pojo.SysRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Entity com.sq.system.pojo.pojo.SysRole
 */
@Mapper
public interface SysRoleMapper extends BaseMapper<SysRole> {


    List<SysRole> selectRoleByUserId(@Param("userId") String userId);


    List<SysRole> selectRoleWhere(SysRole sysRole);

    int updateRoleStatus(SysRole role);
}




